/*
 * DIOdrv.h
 *
 * Created: 15.02.2013 20:52:11
 *  Author: victor
 */


#ifndef DIODRV_H_
#define DIODRV_H_
#include <CommonDefinitions.h>

#define DIODRV_C_PLAY_PAUSE_U8			PD4
#define DIODRV_C_NEXT_U8				PD5
#define DIODRV_C_PREVIOUS_U8			PD6
#define DIODRV_C_PHONE_U8				PD7
#define DIODRV_C_PWRBTT_U8				PB0
#define DIODRV_C_BTT_ON_OFF_U8			PB1
#define DIODRV_C_STATUS_GREEN_LED_U8	PC0
#define DIODRV_C_STATUS_RED_LED_U8		PC1
#define DIODRV_C_STATUS_BLUE_LED_U8		PC2

extern void DIODrv_Init ( void );
extern void DIODrv_SetPin ( EN_CommonDefinition_CommandsEnum command );
extern void DIODrv_ClearPin ( EN_CommonDefinition_CommandsEnum command );
extern u8 DIODrv_GetPinState ( EN_CommonDefinition_LEDsEnum pin );
extern void DIODrv_TogglePin ( EN_CommonDefinition_CommandsEnum command );

#endif /* DIODRV_H_ */